﻿using Abp.Runtime.Validation;
using BTBookList.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace BTBookList.BookListManagement.Books.Dtos
{
    public class GetBookInput : PagedAndFilteredInputDto, IShouldNormalize
    {
        public void Normalize()
        {
            if (string.IsNullOrWhiteSpace(Sorting))
            {
                Sorting = "Id";
            }

        }
    }
}
